//
//  ConfigManage.h
//  HZHome
//
//  Created by SunShine on 13-9-19.
//  Copyright (c) 2013年 xzysun. All rights reserved.
//

extern NSString *BASE_SERVER_URL;
//我的关注-要情动态
#define IMPORTANT_NEWS_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/app/info/sceneTrends"]
//我的关注-通知公告
#define NOTICE_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/app/info/notice"]
//我的关注-政策文件
#define POLICY_FILE_URL [BASE_SERVER_URL stringByAppendingString:@"/app/info/policyFile"]
//我的关注-政策文件详情
#define POLICY_FILE_DETAIL_URL [BASE_SERVER_URL stringByAppendingString:@"/app/info/policyFileDetail"]
//我的关注-定制信息提交
#define USER_CONCERN_CUSTOM_URL [BASE_SERVER_URL stringByAppendingString:@"/infoCustom/update"]
#define NEWS_PIC_BASE_URL [BASE_SERVER_URL stringByAppendingString:@"/upload/"]


//我要监督-只提交文本
#define WoYaoJianDu1 [BASE_SERVER_URL stringByAppendingString:@"/consume/add/text"]
//我要监督-含文本和文件
#define WoYaoJianDu2 [BASE_SERVER_URL stringByAppendingString:@"/consume/add"]
//我要监督-举报记录
#define JuBaoJiLu [BASE_SERVER_URL stringByAppendingString:@"/consume/list/"]
//我要监督-服务评价
#define JianDuPingJia [BASE_SERVER_URL stringByAppendingString:@"/consume/update"]
//我要监督-图片查看 我要监督图片查看只需加图片地址就可以展现在imageview控件上了
#define JianDuTuPian [BASE_SERVER_URL stringByAppendingString:@"/consume/image"]
//我要监督-举报记录
#define JuBaoJiLu [BASE_SERVER_URL stringByAppendingString:@"/consume/list/"]


//我要查-下级页面的统一查询URL
#define WOYAOCHA [BASE_SERVER_URL stringByAppendingString:@"/app/query/myQuery"]
//我要查-街道列表获取的地址
#define STREETSLIST [BASE_SERVER_URL stringByAppendingString:@"/app/baseInfo"]


//办事及指南查询---街道办事指南查询
#define SERVER_URL_SEARCH_GUIDE_DETIAL_ITEM [BASE_SERVER_URL stringByAppendingString:@"/app/guidejm/"]
#define SERVER_URL_SEARCH_GUIDE_DETIAL_ENTERPRISE [BASE_SERVER_URL stringByAppendingString:@"/app/guideqy/"]

#define SERVER_URL_SEARCH_GUIDE_ITEM_LIST [BASE_SERVER_URL stringByAppendingString:@"/app/guide/selist/"]

#define SERVER_URL_PEOPLE_ORG_LIST [BASE_SERVER_URL stringByAppendingString:@"/peopleService/serviceOrgList"]
//居民办事查询 -部门列表
#define SERVER_URL_JMFW_ORGINFO [BASE_SERVER_URL stringByAppendingString:@"/app/jmfw/orginfo"]
//办事及指南查询---街道办事指南列表
#define SERVER_URL_PEOPLE_ITEM_LIST [BASE_SERVER_URL stringByAppendingString:@"/peopleService/serviceItemlist/"]
#define SERVER_URL_PROPLR_ITEM_ORG_LIST [BASE_SERVER_URL stringByAppendingString:@"/app/jmfw/orgservice"]
//企业办事及居民办事指南-类别筛选
#define SERVER_URL_GUIDE_TYPE [BASE_SERVER_URL stringByAppendingString:@"/guideService/guideType"]
//企业办事及居民办事指南
#define SERVER_URL_GUIDE [BASE_SERVER_URL stringByAppendingString:@"/guideService/guidelist/"]
//企业办事指南--安装部门分类筛选
#define SERVER_URL_GE_GUIDE [BASE_SERVER_URL stringByAppendingString:@"/egd/list/"]
//企业办事查询-列表
#define ENTERPRISE_PROGRESS_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/app/work/esq"]
//居民办事查询-列表
#define RESIDENT_PROGRESS_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/peopleService/fwdaList"]
//企业办事查询-详情
#define ENTERPRISE_PROGRESS_DETAIL_URL [BASE_SERVER_URL stringByAppendingString:@"/app/work/esq/detail"]
//企业办事查询-反馈
#define ENTERPROSE_PROGRESS_VOTE_URL [BASE_SERVER_URL stringByAppendingString:@"/app/work/esq/detail/edit/vote_grade"]
//居民办事查询-详情
#define RESIDENT_PROGRESS_DETAIL_URL [BASE_SERVER_URL stringByAppendingString:@"/peopleService/fwdaDetail/"]
//居民办事查询-反馈
#define RESIDENT_PROGRESS_VOTE_URL [BASE_SERVER_URL stringByAppendingString:@"/peopleService/fwdaVote"]


//我的街道-街道详细信息地址-用于查询街道的电话和门牌
#define STREET_DETAIL_INFO_URL [BASE_SERVER_URL stringByAppendingString:@"/app/areaResources/street/office"]
//我的街道-街道信息
#define MY_STREET_NOTICE_URL [BASE_SERVER_URL stringByAppendingString:@"/app/info/notice"]
//我的街道-提交咨询
#define POST_ADVISORY_URL [BASE_SERVER_URL stringByAppendingString:@"/app/policyadvisory/add/"]
//我的街道-查询咨询记录
#define QUERY_ADVISORY_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/app/policyadvisory/list_unitname/"]
//我的街道-查询咨询记录详细信息
#define QUERY_ADVISORY_DETAIL_URL [BASE_SERVER_URL stringByAppendingString:@"/app/policyadvisory/getbyid"]
//我的街道-反馈咨询记录
#define FEEDBACK_ADVISORY_URL [BASE_SERVER_URL stringByAppendingString:@"/app/policyadvisory/updataPa"]


//居民服务-提交信件的地址
//#define POST_ResidentComplain_URL @"112.124.47.42/app/info/writeXFinfo"
//#define POST_ResidentComplain_URL @"haizhu.gov.cn:8080/app/info/writeXFinfo"
//#define GetNewXFinfo_URL @"haizhu.gov.cn:8080/app/info/getNewXFinfo"
//居民服务-提交信件的地址
#define POST_ResidentComplain_URL [BASE_SERVER_URL stringByAppendingString:@"/app/info/writeXFinfo"]
//#define POST_ResidentComplain_URL @"haizhu.gov.cn:8080/app/info/writeXFinfo"
//居民服务-信件记录地址
//#define GetNewXFinfo_URL @"haizhu.gov.cn:8080/app/info/getNewXFinfo"
#define GetNewXFinfo_URL [BASE_SERVER_URL stringByAppendingString:@"/app/info/getNewXFinfo"]
//居民服务-信件记录地址 详情info/getNewXFinfoDetail
#define GetNewXFinfo_DETAIL_URL [BASE_SERVER_URL stringByAppendingString:@"/app/info/getNewXFinfoDetail"]
//居民服务-信件记录评价服务
#define SERVER_URL_FLOW_VOTE_GRADE [BASE_SERVER_URL stringByAppendingString:@"/app/flow/edit/vote_grade"]
#define SERVER_URL_INFO_NOTICE [BASE_SERVER_URL stringByAppendingString:@"/app/info/notice/"]
//企业服务-政策咨询和政策文件的部门列表
#define POLICY_ADVISORY_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/policyUnit/list"]
//企业服务-政策文件的列表
#define ENTERPRISE_POLICY_FILE_URL [BASE_SERVER_URL stringByAppendingString:@"/policyRule/list"]
//企业服务-政策文件内容
#define ENTERPRISE_POLICY_FILE_CONTENT_URL [BASE_SERVER_URL stringByAppendingString:@"/policyRule/id/"]
//企业服务-预约的部门列表
#define RESERVATION_DEPART_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/ei/all"]
//企业服务-预约项目列表
#define RESERVATION_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/business/allQuery"]
//企业服务-预约提交
#define RESERVATION_COMMIT_URL [BASE_SERVER_URL stringByAppendingString:@"/reserve/add"]
//企业服务-预约记录的查询列表
#define RESERVATION_RECORD_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/reserve/list"]
//企业服务-预约记录反馈
#define RESERVATION_RECORD_VOTE_URL [BASE_SERVER_URL stringByAppendingString:@"/reserve/update"]
//企业服务-展会列表
#define EXHIBITION_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/app/zhpq/1"]
//企业服务-政务中心部门人员列表
#define GOV_CENTER_AFFAIRS_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/app/getGovernmentAffairsList"]

//文化旅游-海珠十景列表
#define ATTRACTIONSLIST [BASE_SERVER_URL stringByAppendingString:@"/app/info/cqfm/1"]
//文化旅游-海珠湿地门票列表
#define WETLAND_TICKETS_LIST [BASE_SERVER_URL stringByAppendingString:@"/app/allMarshTicketList"]
//文化旅游-海珠湿地门票预定
#define WETLAND_BOOKING_COMMIT_URL [BASE_SERVER_URL stringByAppendingString:@"/app/marshOrder/add"]
//文化旅游-海珠湿地订单详情
#define WETLAND_ORDER_DETAIL_URL [BASE_SERVER_URL stringByAppendingString:@"/app/marshOrderDetail"]
//文化旅游-海珠湿地订单列表
#define WETLAND_ORDER_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/app/marshOrderList"]
//文化旅游-海珠湿地订单-剩余票数
#define WETLAND_ORDER_LIST_COUNT_URL [BASE_SERVER_URL stringByAppendingString:@"/app/remainingTickets"]
//文化旅游-海珠湿地订单详情-请求订单id,
#define WETLAND_ORDER_INFO_GET_ID_URL [BASE_SERVER_URL stringByAppendingString:@"/app/marshOrder/getId"]
//文化旅游-海珠湿地订单详情-请求删除记录,
#define WETLAND_ORDER_INFO_DELETE_ID_URL [BASE_SERVER_URL stringByAppendingString:@"/app/marshOrder/delete"]
//志愿者服务-志愿最新鲜列表
#define VOLUNTEERNOVEL [BASE_SERVER_URL stringByAppendingString:@"/app/volunteer/notice/"]
//志愿者服务-筛选机构列表
#define VINSTITUTION [BASE_SERVER_URL stringByAppendingString:@"/app/volunteer/vinstitution/screen"]
//志愿者服务-志愿者机构列表
//#define VINSTITUTION2 [BASE_SERVER_URL stringByAppendingString:@"/app/query/myQuery/"]


//街道订制
#define STREET_CUSTOMIZE_URL [BASE_SERVER_URL stringByAppendingString:@"/infoCustom/update"]
//用户注册
#define USER_ADD_URL [BASE_SERVER_URL stringByAppendingString:@"/app/user/add"]
//获取验证码
#define GET_VALI_NUM [BASE_SERVER_URL stringByAppendingString:@"/appsm/getValiNum"]
//验证手机号码和验证码是否正确
#define CHECK_VALI_NUM [BASE_SERVER_URL stringByAppendingString:@"/appsm/chenckValiNum"]
//用户标识登录
#define USER_LOGIN_WITH_ID_URL [BASE_SERVER_URL stringByAppendingString:@"/app/getUserByImei"]
//用户登录
#define USER_LOGIN_URL [BASE_SERVER_URL stringByAppendingString:@"/app/user/login"]
//用户信息修改
#define USER_INFO_MODIFY_URL [BASE_SERVER_URL stringByAppendingString:@"/app/user/edit"]
//用户修改密码
#define USER_MODIFY_PASSWORD_URL [BASE_SERVER_URL stringByAppendingString:@"/app/user/modifyPassword"]
//检查手机号是否被绑定
#define USER_CHEC_KMOBILE_URL [BASE_SERVER_URL stringByAppendingString:@"/app/checkMobile"]
//用户反馈
#define USER_FEEDBACK_URL [BASE_SERVER_URL stringByAppendingString:@"/feelback/add"]
//个人消息-数量
#define PERSONAL_MESSAGE_LIST [BASE_SERVER_URL stringByAppendingString:@"/appmessage/init"]
//个人消息-通知公告列表
#define PERSONAL_MESSAGE_TZGG_LIST [BASE_SERVER_URL stringByAppendingString:@"/appmessage/tzgglist"]
//个人消息-我要监督列表
#define PERSONAL_MESSAGE_WYJD_LIST [BASE_SERVER_URL stringByAppendingString:@"/appmessage/wyjdlist"]
//个人消息-区长信箱列表
#define PERSONAL_MESSAGE_QZXX_LIST [BASE_SERVER_URL stringByAppendingString:@"/appmessage/qzxxlist"]
//个人消息-政策咨询列表
#define PERSONAL_MESSAGE_ZCZX_LIST [BASE_SERVER_URL stringByAppendingString:@"/appmessage/qyzczxlist"]
//个人消息-网上预约列表
#define PERSONAL_MESSAGE_WSYY_LIST [BASE_SERVER_URL stringByAppendingString:@"/appmessage/qyzwzswsyy"]
//个人消息-通知公告-详情
#define PERSONAL_MESSAGE_TZGG_DETAIL_URL [BASE_SERVER_URL stringByAppendingString:@"/notice/get"]
//个人消息-阅读标识
#define PERSONAL_MESSAGE_READ_MARK_URL [BASE_SERVER_URL stringByAppendingString:@"/appmessage/messageread"]

//个人消息-我的消息列表
#define PERSONAL_ALL_MESSAGE_LIST_URL [BASE_SERVER_URL stringByAppendingString:@"/appmessage/allMessageNew"]
//个人消息-我的消息列表-我要监督详情
#define PERSONAL_MESSAGE_MY_WYJD_URL [BASE_SERVER_URL stringByAppendingString:@"/consume/id/"]

//个人消息-我的消息列表-我要意见反馈详情
#define PERSONAL_MESSAGE_MY_YJFK_URL [BASE_SERVER_URL stringByAppendingString:@"/appmessage/feelbackedit/"]

//个人消息-我的消息列表-通知公告-删除
#define PERSONAL_MESSAGE_TZGG_DELETE_URL [BASE_SERVER_URL stringByAppendingString:@"/appmessage/noticeUserRelation/delete/"]

//个人消息-我的消息列表-意见反馈-删除
#define PERSONAL_MESSAGE_YJFK_DELETE_URL [BASE_SERVER_URL stringByAppendingString:@"/appmessage/feelback/delete/"]


//定时器的接口
#define updateOnlineScore_URL [BASE_SERVER_URL stringByAppendingString:@"/app/user/updateOnlineScore"]

//海珠天气
#define HaiZhuTianQi @"http://m.weather.com.cn/data/101280101.html"


//参与活动
#define BASE_WITH_PARTICPATION_SERVER_URL @"183.63.85.58:86"
#define IsParticipate_URL  [BASE_SERVER_URL stringByAppendingString:@"/activity/isParticipate?"]
#define ParticipateActivity_URL  [BASE_SERVER_URL stringByAppendingString:@"/activity/participateActivity?"]

#define AddRecommendList_URL  [BASE_SERVER_URL stringByAppendingString:@"/activity/addRecommendList"]
#define GetRecommendList_URL  [BASE_SERVER_URL stringByAppendingString:@"/activity/getRecommendList/"]

#define GetList  [BASE_SERVER_URL stringByAppendingString:@"/app/hzzxx/list/1"]
#define InfoWithScene   [BASE_SERVER_URL stringByAppendingString:@"/app/hzzxx/sceneTrends/"]
#define InfoWithNotice   [BASE_SERVER_URL stringByAppendingString:@"/app/hzzxx/notice/"]

//社区自治
//=======================================

 //注册
 //---------------------------------------

 //社区自治-查询用户是否注册社区 （参数:userId）
 #define SERVER_URL_COMMUNITY_IS_REGISTER [BASE_SERVER_URL stringByAppendingString:@"/appCommunityExamine/userIsRegister"]
 /** 社区治理-  用户注册-社区下拉列表 */
 #define SERVER_URL_FIND_COMMUNITY_BY_STREETID [BASE_SERVER_URL stringByAppendingString:@"/appCommunityExamine/findCommunityByStreetId"]
 /** 社区治理-  用户注册-提交 **/
 #define SERVER_URL_FIND_COMMUNITY_USER_REGISTER [BASE_SERVER_URL stringByAppendingString:@"/appCommunityExamine/addCommunityUserRelation"]

 //民情调查
 //---------------------------------------

 /**社区民情调查 - 列表*/
 #define SERVER_URL_SURVEY_LIST [BASE_SERVER_URL stringByAppendingString:@"/appsurvey/masterList"]
 /**社区民情调查 - 列表-详情*/
 #define SERVER_URL_SURVEY_INFO_LIST [BASE_SERVER_URL stringByAppendingString:@"/appsurvey/itemList"]
 /**社区民情调查 - 提交*/
 #define SERVER_URL_SURVEY_POST [BASE_SERVER_URL stringByAppendingString:@"/appsurvey/postSurvey"]
 /**获取一项民情调查*/
 #define SERVER_URL_ACTIVITIES_SURVER_MASTER [BASE_SERVER_URL stringByAppendingString:@"/appsurvey/surveyMaster"]

 //民情调查附件相对父级路径
 #define SURVEY_PIC_BASE_URL [BASE_SERVER_URL stringByAppendingString:@"/communityImage/survey/"]

//社情公告-相关实体NoticesItem
//---------------------------------------

 /**社区公告*/
 #define SERVER_URL_COMMUNITY_NOTICE_LIST [BASE_SERVER_URL stringByAppendingString:@"/appCommunityNotice/noticeList"]

 /**
  * 社区活动报名提交
  */
 #define SERVER_URL_ACTIVITIES_ENROLL_PEPOPLE [BASE_SERVER_URL stringByAppendingString:@"/appCommunityNotice/addEnroll"]

 /**社区自治公告（活动）图片url*/
 #define SERVER_URL_COMMUNITY_NOTICE_IMAGE [BASE_SERVER_URL stringByAppendingString:@"/communityImage/notice/"]

//民意征集/我要投票
//---------------------------------------
 /**民意征集/我要投票列表*/
 #define SERVER_URL_VOTE_MASTER_LIST [BASE_SERVER_URL stringByAppendingString:@"/app/vote/master/list"]
 /**获取一项民意征集或我要投票*/
 #define SERVER_URL_ACTIVITIES_VOTE_MASTER [BASE_SERVER_URL stringByAppendingString:@"/app/vote/master/voteMaster"]
 /**根据投票id获取投票项*/
 #define SERVER_URL_VOTE_ITEM_LIST [BASE_SERVER_URL stringByAppendingString:@"/app/vote/item/list/"]
 /**提交投票*/
 #define SERVER_URL_SUBMIT_VOTE [BASE_SERVER_URL stringByAppendingString:@"/app/vote/submitVote"]
 /**提交投票意见*/
 #define SERVER_URL_SUBMIT_VOTE_RESULT [BASE_SERVER_URL stringByAppendingString:@"/app/vote/submitVoterResult"]
 /**根据投票id获取投票结果*/
 #define SERVER_URL_VOTE_DETAIL_LIST [BASE_SERVER_URL stringByAppendingString:@"/app/vote/item/detail"]
 /**投票记录列表*/
 #define SERVER_URL_VOTE_MASTERXX_LIST [BASE_SERVER_URL stringByAppendingString:@"/app/vote/masterxx/list"]

 /*社区自治-民意征集/我要投票 图片url*/
 #define SERVER_URL_COMMUNITY_VOTE_IMAGE [BASE_SERVER_URL stringByAppendingString:@"/communityImage/vote/"]

//党组织
//---------------------------------------
//党组织机构信息（根据类型）
#define SERVER_URL_INSTITUTION_INFO [BASE_SERVER_URL stringByAppendingString:@"/appparty/institution"]
//党组织
#define SERVER_URL_PARTY_INFO [BASE_SERVER_URL stringByAppendingString:@"/appparty/party/"]
//党组织机构信息（根据id）
#define SERVER_URL_INSTITUTION_ONE_INFO [BASE_SERVER_URL stringByAppendingString:@"/appparty/institutionone"]

//党组织信息（根据id）
#define SERVER_URL_PARTY_ONE_INFO [BASE_SERVER_URL stringByAppendingString:@"/appparty/partyone/"]

//网格员
//---------------------------------------
/**
 * 社区治理 - 网格员 - 列表
 */
#define SERVER_URL_COMMUNITY_WAITER_LIST [BASE_SERVER_URL stringByAppendingString:@"/appCommunitWaiter/getPagesCommunityWaiter"]

/**
 * 社区治理 - 网格员
 */
#define SERVER_URL_COMMUNITY_WAITER_ONE [BASE_SERVER_URL stringByAppendingString:@"/appCommunitWaiter/getCommunityWaiter/"]
/**
 * 社区治理 - 网格员 - 咨询 - 添加
 */
#define SERVER_URL_COMMUNITY_WAITER_CONSULT_ADD [BASE_SERVER_URL stringByAppendingString:@"/appCommunitWaiter/communityWaiterConsultAdd"]

/**
 * 社区治理 - 网格员 - 咨询 - 咨询列表
 * @parameters 路径变量页码
 * @parameters title
 */
#define SERVER_URL_COMMUNITY_WAITER_CONSULT_LIST [BASE_SERVER_URL stringByAppendingString:@"/appCommunitWaiter/getPagesCommunityWaiterConsult"]

/**
 * 社区治理 - 网格员 - 评价-查询某月份是否已评价了
 */
#define SERVER_URL_COMMUNITY_WAITER_EVALUATE_QUERY_WEEK [BASE_SERVER_URL stringByAppendingString:@"/appCommunitWaiter/evaluateYearWeekByUser/1"]

/**
 * 社区治理 - 网格员 - 评价-查询 评价记录
 */
#define SERVER_URL_COMMUNITY_WAITER_EVALUATE_QUERY_WEEK_LIST [BASE_SERVER_URL stringByAppendingString:@"/appCommunitWaiter/evaluateYearWeekList"]
/**
 * 社区治理 - 网格员 - 评价-添加
 */
#define SERVER_URL_COMMUNITY_WAITER_EVALUATE_ADD [BASE_SERVER_URL stringByAppendingString:@"/appCommunitWaiter/communityWaiterEvaluateAdd"]

/**
 * 社区自治网格员图片url
 */
#define SERVER_URL_COMMUNI_WAITER_IMAGE [BASE_SERVER_URL stringByAppendingString:@"/communityImage/communitWaiter/"]
//好人好事
//---------------------------------------
/**
 * 社区-好人好事 - 列表查询
 */
#define SERVER_URL_GOODDEED_LIST [BASE_SERVER_URL stringByAppendingString:@"/appGoodDeed/getPagesGoodDeed"]

/**
 * 社区-好人好事 - 我要上报
 */
#define SERVER_URL_GOODDEED_MY_NEWSPAPERS [BASE_SERVER_URL stringByAppendingString:@"/appGoodDeed/addGoodDeed"]

/**
 * 社区-好人好事 - 查看图片
 */
#define SERVER_URL_GOODDEED_MY_NEWSPAPERS_IMAGE [BASE_SERVER_URL stringByAppendingString:@"/communityImage/goodDeed/"]

//投诉建议
//---------------------------------------
/**
 * 社区- 投诉建议-添加
 */
#define SERVER_URL_COMPLAINT_ADVICE_ADD [BASE_SERVER_URL stringByAppendingString:@"/appComplaintAdvice/addComplaintAdvice"]

/**
 * 社区- 投诉建议- 查询
 */
#define SERVER_URL_COMPLAINTADVICE_LIST [BASE_SERVER_URL stringByAppendingString:@"/appComplaintAdvice/getPagesComplaintAdvice"]

/**
 * 社区- 投诉建议-  查看图片
 */
#define SERVER_URL_COMPLAINTADVICE_MY_NEWSPAPERS_IMAGE [BASE_SERVER_URL stringByAppendingString:@"/communityImage/ComplaintAdvice/"]

/**
 * 社区文体小组-列表
 */
#define SERVER_URL_LITERATURE_GROUP_LIST [BASE_SERVER_URL stringByAppendingString:@"/literatureGroup/getPagesLiteratureGroup"]

/**
 * 社区治理 -活动报名记录
 */
#define SERVER_URL_COMMUNITY_ACTIVITYS_CONSULT_LIST [BASE_SERVER_URL stringByAppendingString:@"/appCommunityNotice/activitiesXX"]
/**
 * 社区治理-  用户注册和社区用户一起注册
 */
#define SERVER_URL_USER_COMMUNITY_REGISTER [BASE_SERVER_URL stringByAppendingString:@"/appCommunityExamine/user/register"]

//定义一些全局的常量
//=======================================
//登出的通知
#define LOGOUT_NOTIFICATION_NAME @"LOGOUT_NOTIFICATION"
//刷新街道的通知
#define REFRESH_USER_STREET_ID_NOTIFICATION_NAME @"REFRESH_USER_STREET_ID_NOTIFICATION"
//当前选择的街道ID
#define CURRENT_SELECTED_STREET_ID_KEY @"CURRENT_SELECTED_STREET_ID_KEY"
//当前选择的街道名称
#define CURRENT_SELECTED_STREET_NAME_KEY @"CURRENT_SELECTED_STREET_NAME_KEY"
//缓存的街道简介
#define CACHED_STREET_DISCRIPTION_KEY @"CACHED_STREET_DISCRIPTION"
//自动登录标识
#define AUTO_LOGIN_FLAG @"AUTO_LOGIN_FLAG"
#define AUTO_LOGIN_ENABLE @"AUTO_LOGIN_ENABLE"
#define AUTO_LOGIN_DISABLE @"AUTO_LOGIN_DISABLE"
#define AUTO_LOGIN_USER_NAME @"AUTO_LOGIN_USER_NAME"
#define AUTO_LOGIN_USER_PASSWORD @"AUTO_LOGIN_USER_PASSWORD"
#define LOGIN_USER_ID @"LOGIN_USER_ID"
#define LOGIN_USER_NAME @"LOGIN_USER_NAME"

//上一次运行的版本号标识
#define LAST_APP_VERSION_KEY @"LAST_APP_VERSION_KEY"

//我要监督-举报类型标识
#define COMPLAINTYPE @"COMPLAINTYPE"

//拨打电话的AlertView的tag
#define PHONE_ALERT_TAG 10240

//我的关注定制
#define LOCAL_IMPORTANT_NEWS_TYPE_KEY @"LOCAL_IMPORTANT_NEWS_TYPE"
#define LOCAL_NOTICE_STREET_TYPE_KEY @"LOCAL_NOTICE_STREET_TYPE"
#define LOCAL_NOTICE_UNIT_TYPE_KEY @"LOCAL_NOTICE_STREET_TYPE"
#define LOCAL_NOTICE_CATEGORY_TYPE_KEY @"LOCAL_NOTICE_CATEGORY_TYPE"
#define LOCAL_FILE_RULE_CATEGORY_TYPE_LIST @"LOCAL_FILE_RULE_CATEGORY_TYPE"

//获取当前屏幕的宽度和高度
#define SCREEN_WIDTH			([[UIScreen mainScreen] bounds].size.width)
#define SCREEN_HEIGHT			([[UIScreen mainScreen] bounds].size.height)

//判断iPhone5
#define iPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)

//当前系统版本
#define RunTimeOSVersion [UIDevice currentDevice].systemVersion.floatValue


#define HEXCOLOR(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

